package br.ufc.ck0017.ir.tree;

import java.util.List;

public class SEQ implements IRNode {
    public final IRNode left;
    public final IRNode right;

    public SEQ(IRNode left, IRNode right) {
        this.left = left;
        this.right = right;
    }

    @Override
    public List<IRNode> getChildren() {
        throw new RuntimeException("getChildren() is not applicable to SEQ.");
    }

    @Override
    public IRNode build(List<IRNode> children) {
        throw new RuntimeException("build() is not applicable to SEQ.");
    }
}
